.footer {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #024466;
    color: #ffffff;

    .footer__content {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: var(--space-xl) var(--space-s) var(--space-s);
    }

    .footer__column {
        width: auto;

        .footer__column-header {
            color: #ffdc00;
        }

        ul {
            list-style-type: none;
        }
    }

    .footer__bottom {
        width: 100%;
        padding: var(--space-s) 0;
        background: #00263d;
        border-top: 2px solid #ffdc00;
    }

    .footer__link {
        color: #fff;
    }

    .footer__link:is(:hover, :focus-within) {
        text-decoration: underline;
    }

    .footer__link--legal {
        padding-right: var(--space-2xs);
        border-right: 2px solid #fff;
        font-size: var(--step--1);
    }

    .footer__link--social:is(:hover, :focus-within) {
        border-bottom: 2px solid #fff;
    }

    .footer__link-icon {
        vertical-align: bottom;
    }

    .footer__bottom-content {
        display: flex;
        justify-content: space-between;
    }

    .footer__bottom-links {
        width: 80%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        list-style-type: none;
        gap: var(--space-2xs);
    }

    .footer__bottom-links--socials {
        width: fit-content;
    }

    .footer__copyright {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 var(--space-s);
        font-size: var(--step--2);
        color: #fff;
        text-align: right;
    }

    .footer__powered-by {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 var(--space-s);
        display: block;
        padding-bottom: 20px;
        opacity: 0.5;
        font-size: var(--step--1);
        color: #eee;
        transition: all 0.25s ease-in-out;
    }
    
    .footer__powered-by img {
        vertical-align: middle;
        margin-left: 5px;
    }
    
    .footer__powered-by:is(:hover, :focus-within) {
        opacity: 1;
    }
}


@media only screen and (max-width: 992px) {
    .footer {
        .footer__content {
            row-gap: var(--space-m);
        }

        .footer__column {
            width: 45%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    }
}

@media only screen and (max-width: 768px) {
    .footer {
        .footer__bottom-content {
            flex-direction: column;
            align-items: center;
            row-gap: var(--space-s);
        }

        .footer__bottom-links {
            width: 100%;
            justify-content: center;
            gap: var(--space-3xs);
        }

        .footer__bottom-links--socials {
            gap: var(--space-s);
        }

        .footer__copyright {
            text-align: center;
        }
    }

}

@media only screen and (max-width: 576px) {
    .footer {
        .footer__content {
            row-gap: var(--space-m);
        }

        .footer__column {
            width: 100%;
        }

        .footer__link--legal {
            border: none;
        }

        .footer__powered-by {
            text-align: center;
        }
    }
}
